home *** CD-ROM | disk | FTP | other *** search
-
- NAME
-
- battery - display battery status
-
- SYNOPSIS
-
- battery
-
- DESCRIPTION
-
- This command uses the BatteryStatus system call. The current battery voltage and charger status are displayed.
-
- Conditions which may be displayed are:
-
- The charger is [dis]connected.
- The charger has recently been [dis]connected.
- The low voltage flag is set.
- The high charging rate flag is set.
-
- RETURN CODES
-
- <0 Battery status could not be read.
- 0 Success
-
- Note: Battery status information is only available on systems in which the Power Manager is installed.